net/http.persistConn.readLimit (field)
9 uses
net/http (current package)
transport.go#L2083: readLimit int64 // bytes allowed to be read; owned by readLoop
transport.go#L2116: if pc.readLimit <= 0 {
transport.go#L2119: if int64(len(p)) > pc.readLimit {
transport.go#L2120: p = p[:pc.readLimit]
transport.go#L2126: pc.readLimit -= int64(n)
transport.go#L2274: pc.readLimit = pc.maxHeaderResponseSize()
transport.go#L2297: if pc.readLimit <= 0 {
transport.go#L2308: pc.readLimit = maxInt64 // effectively no limit for response bodies
transport.go#L2490: pc.readLimit = pc.maxHeaderResponseSize() // reset the limit
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)